package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊指南对象 visit_guide
 * 
 * @author ruoyi
 * @date 2025-06-26
 */
public class VisitGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指南ID，自增主键 */
    private Integer id;

    /** 标题，如“管理就诊人” */
    @Excel(name = "标题，如“管理就诊人”")
    private String title;

    /** 关联分类ID，关联 visit_guide_cate.id */
    @Excel(name = "关联分类ID，关联 visit_guide_cate.id")
    private Integer cateId;

    /** 文章内容（富文本） */
    @Excel(name = "文章内容", readConverterExp = "富=文本")
    private String content;

    /** 作者，如“王敏” */
    @Excel(name = "作者，如“王敏”")
    private String author;

    /** 状态：1启用、0停用 */
    @Excel(name = "状态：1启用、0停用")
    private Integer status;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;


    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setCateId(Integer cateId) 
    {
        this.cateId = cateId;
    }

    public Integer getCateId() 
    {
        return cateId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("cateId", getCateId())
            .append("content", getContent())
            .append("author", getAuthor())
            .append("status", getStatus())
            .append("uploadTime", getUploadTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
